<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
<%@ taglib prefix="s" uri="http://stripes.sourceforge.net/stripes.tld" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="f" uri="http://java.sun.com/jsp/jstl/fmt" %>
<s:layout-render name="/layout.jsp" title="${registration}">
    <s:layout-component name="menu">
    </s:layout-component>
    <s:layout-component name="main_content">
        <div class="main-content">
            <div class="content">
                <img src="${pageContext.request.contextPath}/images/banner.png" alt="Banner" id="banner"/>
                <h1><f:message key="registration"/></h1>
                <s:form beanclass="cz.muni.fi.pa165.creatures.web.RegisterActionBean" focus="first">
                    <p><f:message key="provide.information"/>:</p>
                    <%@include file="/forms/registerUser.jsp" %>
                    <s:submit name="register"><f:message key="register"/></s:submit>
                </s:form>
                <div>
                    <f:message key="already_got_account"/>
                    <s:link href="/login.jsp"><f:message key="already_got_account_link"/></s:link>!
                    </div>
                </div>
            </div>
    </s:layout-component>
</s:layout-render>
